package com.eleven.service;

import java.util.List;

import javax.validation.Valid;

import com.eleven.pojo.Comments;

public interface CommentsService {

	public List<Comments> getCommentsByUserId(Integer userId);
	
	public List<Comments> getCommentsByProId(Integer proId);
	
	public List<Comments> getAllComments();
	
	public int deleteComment(Integer cmId);

	public int saveComment(Comments comments);
	
	public Comments getDetailedComment(Integer cmId);
	
	public List<Comments> getMyCommentsByCondition(String condition,Integer cmUsId);
	
	public List<Comments> getAllCommentsByCondition(String condition);
	
	public List<Comments> getProCommentsByCondition(String condition,Integer cmPsId);
	
	
}
